package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 评论互动表（点赞）
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "comment_like")
public class CommentLike implements java.io.Serializable{
    private ObjectId id;
    private ObjectId commentId;    //发布id
    private Long userId;           //评论人
    private Long created; 		   //发表时间
}